﻿using NUnit.Framework;
using Vk.Methods.Account;
using Vk.Methods.Storage;

namespace UnitTests
{
    [TestFixture]
    public class AccountTests : TestsBase
    {
        [Test]
        public void GetCountersTest()
        {
            IsSignatureUpdated(typeof(Account).GetMethod("GetCounters"));
        }

        [Test]
        public void SetNameInMenuTest()
        {
            IsSignatureUpdated(typeof(Account).GetMethod("SetNameInMenu"));
        }

        [Test]
        public void SetOnlineTest()
        {
            IsSignatureUpdated(typeof(Account).GetMethod("SetOnline"));
        }

        [Test]
        public void SetOfflineTest()
        {
            IsSignatureUpdated(typeof(Account).GetMethod("SetOffline"));
        }

        [Test]
        public void LookupContactsTest()
        {
            IsSignatureUpdated(typeof(Account).GetMethod("LookupContacts"));
        }

        [Test]
        public void RegisterDeviceTest()
        {
            IsSignatureUpdated(typeof(Account).GetMethod("RegisterDevice"));
        }

        [Test]
        public void UnregisterDeviceTest()
        {
            IsSignatureUpdated(typeof(Account).GetMethod("UnregisterDevice"));
        }

        [Test]
        public void SetSilenceModeTest()
        {
            IsSignatureUpdated(typeof(Account).GetMethod("SetSilenceMode"));
        }

        [Test]
        public void GetPushSettingsTest()
        {
            IsSignatureUpdated(typeof(Account).GetMethod("GetPushSettings"));
        }

        [Test]
        public void SetPushSettingsTest()
        {
            IsSignatureUpdated(typeof(Account).GetMethod("SetPushSettings"));
        }

        [Test]
        public void GetAppPermissionsTest()
        {
            IsSignatureUpdated(typeof(Account).GetMethod("GetAppPermissions"));
        }

        [Test]
        public void GetActiveOffersTest()
        {
            IsSignatureUpdated(typeof(Account).GetMethod("GetActiveOffers"));
        }

        [Test]
        public void BanUserTest()
        {
            IsSignatureUpdated(typeof(Account).GetMethod("BanUser"));
        }

        [Test]
        public void UnbanUserTest()
        {
            IsSignatureUpdated(typeof(Account).GetMethod("UnbanUser"));
        }

        [Test]
        public void GetBannedTest()
        {
            IsSignatureUpdated(typeof(Account).GetMethod("GetBanned"));
        }

        [Test]
        public void GetInfoTest()
        {
            IsSignatureUpdated(typeof(Account).GetMethod("GetInfo"));
        }

        [Test]
        public void SetInfoTest()
        {
            IsSignatureUpdated(typeof(Account).GetMethod("SetInfo"));
        }

        [Test]
        public void ChangePasswordTest()
        {
            IsSignatureUpdated(typeof(Account).GetMethod("ChangePassword"));
        }

        [Test]
        public void GetProfileInfoTest()
        {
            IsSignatureUpdated(typeof(Account).GetMethod("GetProfileInfo"));
        }

        [Test]
        public void SaveProfileInfoTest()
        {
            IsSignatureUpdated(typeof(Account).GetMethod("SaveProfileInfo"));
        }
    }
}